const path = require('path');
module.exports = {
    entry: {
        idx: './src/idx.js'
    },
    output: {
        filename: '[name].[chunkHash].js',
        path: path.resolve(__dirname, './dist/')
    },
    module: {
        rules: [
	    {
		test: /\.tsx?/,
		use: {
		    loader: 'ts-loader'
		}
	    }
        ]
    }
}
